<template>
    <div>
        <Modal v-model="modal.detail" title="详情" width="1020">
            <div class="detail-info">
                <Row>
	<i-col span="12"><span class="detail-title">用户编号：</span><span v-text="form.userId"></span></i-col><i-col span="12"><span class="detail-title">手机号：</span><span v-text="form.userPhone"></span></i-col>

	<i-col span="12"><span class="detail-title">用户邮箱：</span><span v-text="form.userEmail"></span></i-col><i-col span="12"><span class="detail-title">角色编号：</span><span v-text="form.roleId"></span></i-col>

	<i-col span="12"><span class="detail-title">角色标题：</span><span v-text="form.roleTitle"></span></i-col><i-col span="12"><span class="detail-title">角色描述：</span><span v-text="form.roleDescription"></span></i-col>

	<i-col span="12"><span class="detail-title">版本号：</span><span v-text="form.userRoleVersion"></span></i-col><i-col span="12"><span class="detail-title">创建时间：</span><span v-text="form.userRoleCreateTime"></span></i-col>

	<i-col span="12"><span class="detail-title">更新时间：</span><span v-text="form.userRoleUpdateTime"></span></i-col><i-col span="12"><span class="detail-title">是否激活：</span><span v-text="form.userRoleIsActive"></span></i-col>
</Row>

            </div>
        </Modal>
    </div>
</template>

<script>
	import * as utils from '@/api/utils-v2'
	import * as ResponseStatus from '@/api/response-status'
    export default {
        name: 'UserRoleDetail',
        data() {
            return {
                modal: {
                    detail: false
                },
				dataDictCodes: ['IS_ACTIVE'],
				dataDictItems: {},
                form: {
                    userId: null,
userPhone: null,
userEmail: null,
roleId: null,
roleTitle: null,
roleDescription: null,
userRoleVersion: null,
userRoleCreateTime: null,
userRoleUpdateTime: null,
userRoleIsActive: null,

                }
            }
        },
        computed: {},
        mounted() {},
        methods: {
			getDictItemsDisplayValue() {
				utils.getDataDict(this.dataDictCodes).then(response => {
				if (response) {
					this.dataDictItems = response
					
					utils.getDetailDictItemDisplayValue(this, 'IS_ACTIVE', 'userRoleIsActive')
				}
				}).catch(error => {
				console.log(error)
				})
			}
		}
    }
</script>

<style>

</style>
